package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员码对象 super_vip_code
 * 
 * @author mzh
 * @date 2025-08-15
 */
public class SuperVipCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 二维码表id */
    private Long id;

    /** 外键用户 id */
    @Excel(name = "外键用户 id")
    private Long userId;

    /** 条形码地址 */
    @Excel(name = "条形码地址")
    private String barcode;

    /** 二维码地址 */
    @Excel(name = "二维码地址")
    private String ercode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setBarcode(String barcode) 
    {
        this.barcode = barcode;
    }

    public String getBarcode() 
    {
        return barcode;
    }

    public void setErcode(String ercode) 
    {
        this.ercode = ercode;
    }

    public String getErcode() 
    {
        return ercode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("barcode", getBarcode())
            .append("ercode", getErcode())
            .toString();
    }
}
